package factory.singleton;

public class SingletonTest {
	
	public static void main(String[] args) {
		
		Singleton s1=Singleton.getInstance();
		System.out.println(s1);
		Singleton s2=Singleton.getInstance();
		System.out.println(s2);
		
		SingletonLazy s3=SingletonLazy.getInstance();
		System.out.println(s3);
		SingletonLazy s4=SingletonLazy.getInstance();
		System.out.println(s4);
	}
}
